package com.webfinal.backsystem.request.shoppingcart;

public class CartOperationRequest {
    private int shoppingCartId;
    private int userId;
    private int productId;
    private int num;
    /**
     * 1:改产品数量
     * 2:加入购物车
     * 3:移除单个产品
     * 4:移除全部产品
     */
    private int flag;

    public int getShoppingCartId() {
        return shoppingCartId;
    }

    public void setShoppingCartId(int shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }
}
